﻿@namespace BootstrapBlazor.Components
@inherits BootstrapComponentBase

<a @attributes="@AdditionalAttributes" class="@ClassString" href="@Item?.Url" @onclick="@OnClickLink">
    @if (!string.IsNullOrEmpty(Item?.Icon))
    {
        <i class="@Item?.Icon"></i>
    }
    <div class="nav-link-text">
        <span>@Item?.Text</span>
    </div>
</a>
